package com.zlz.repository;

import com.zlz.entity.Book;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import java.util.List;

/**
 * @Author: 曾令忠
 * @Description:
 * @Date: 2020/8/3 0003-下午 3:24
 */
public interface BookRepository extends ElasticsearchRepository<Book, Integer> {
    public List<Book> findByNameLike(String name);
}
